﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="UserPayList.aspx.cs" Inherits="BMSQ.Admin.Payment.UserPayList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="newslist_title">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="borderkuang">
            <tr>
                <td bgcolor="#FFFFFF" class="newstitle">买家支付记录列表
                </td>
            </tr>
            <tr>
                <td bgcolor="#FFFFFF" class="newstitlebody">买家支付记录列表
                </td>
            </tr>
        </table>
    </div>
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
        <tr>
            <td  align="left" class="tdbg">
                <b>买家账号：</b>
                <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                &nbsp;
                <b>订单号：</b>
                <asp:TextBox ID="txtOrderNumber" runat="server"></asp:TextBox>
                &nbsp;
                 <b>支付类型：</b>
                <asp:DropDownList ID="ddlPayType" runat="server">
                    <asp:ListItem Text="" Value="" Selected="True"></asp:ListItem>
                     <asp:ListItem Text="线下支付" Value="1" ></asp:ListItem>
                     <asp:ListItem Text="支付宝支付" Value="2" ></asp:ListItem>
                </asp:DropDownList>
                &nbsp;
                 <b>支付状态：</b>
                <asp:DropDownList ID="DropDownList1" runat="server">
                    <asp:ListItem Text="" Value="" Selected="True"></asp:ListItem>
                     <asp:ListItem Text="支付成功" Value="trade_success" ></asp:ListItem>
                     <asp:ListItem Text="支付失败" Value="trade_failed" ></asp:ListItem>
                </asp:DropDownList>
                &nbsp;
            </td>
            <td class="tdbg">
                &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click"></asp:Button>

            </td>
            <td class="tdbg"></td>
        </tr>
    </table>
    <!--Search end-->
    <br />
    <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%" CellPadding="3" OnPageIndexChanging="gridView_PageIndexChanging"
        BorderWidth="1px" DataKeyNames="TR_ID" OnRowDataBound="gridView_RowDataBound"
        AutoGenerateColumns="false" PageSize="10" RowStyle-HorizontalAlign="Center" OnRowCreated="gridView_OnRowCreated">
        <Columns>
            <asp:BoundField DataField="TR_ID" HeaderText="TR_ID" SortExpression="TR_ID" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="User_ID" HeaderText="User_ID" SortExpression="User_ID" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="Tr_code" HeaderText="Tr_code" SortExpression="Tr_code" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="Tr_Money" HeaderText="Tr_Money" SortExpression="Tr_Money" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="Tr_State" HeaderText="Tr_State" SortExpression="Tr_State" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="TradeName" HeaderText="TradeName" SortExpression="TradeName" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="TradeNo" HeaderText="TradeNo" SortExpression="TradeNo" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="TradeStatus" HeaderText="TradeStatus" SortExpression="TradeStatus" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="Created_Date" HeaderText="Created_Date" SortExpression="Created_Date" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="Update_Date" HeaderText="Update_Date" SortExpression="Update_Date" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="OrderNumber" HeaderText="OrderNumber" SortExpression="OrderNumber" ItemStyle-HorizontalAlign="Center" />

            <asp:HyperLinkField HeaderText="详细" ControlStyle-Width="50" DataNavigateUrlFields="TR_ID" DataNavigateUrlFormatString="Show.aspx?id={0}"
                Text="详细" />
        </Columns>
    </asp:GridView>
    <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
        <tr>
            <td style="width: 1px;"></td>
            <td align="left">
                <%--<asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click" />--%>
            </td>
        </tr>
    </table>
</asp:Content>
